<%@LANGUAGE="VBSCRIPT"%>
<html>
<head>
<script language="JavaScript">
function CopyToForm(){
var urls = window.parent.document.frames["mainFrame"].location.href;
window.parent.opener.document.<%=Request.QueryString("fname") %>.value = urls ;
window.parent.close()
}
</script>
<!--window.parent.mainFrame.location.href-->
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="CAR_style.css" type="text/css">
</head>

<body bgcolor="#87AEEF" text="#000000">
<form name="form1" method="post" action="javascript:CopyToForm()">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr> 
      <td height="24" bgcolor="#003399"> 
        <div align="center"><font color="#FFFFFF"><b>Open the document then click 
          'Add Document' button</b></font></div>
      </td>
    </tr>
    <tr> 
      <td height="30"> 
        <div align="center"> 
          <!-- onclick="CopyToForm(<%=Request.QueryString("fname") %>)" -->
          <input type="button" name="Button" value="  Add Document  " class="sbttn" onClick="CopyToForm()">
          <input type="button" name="Submit2" value=" Cancel " class="sbttn" onClick="window.parent.close()">
        </div>
      </td>
    </tr>
  </table>
  <div align="center"> 
    <p>&nbsp; </p>
  </div>
</form>
</body>
</html>
